package com.lemon.cloud.author.oauth2.mapper;

import com.lemon.cloud.author.oauth2.entity.UserEntity;
import com.lemon.mybatis.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @param
 * @author lemon
 * @description
 * @return
 * @date 2019-08-15 14:31
 */
public interface UserMapper extends BaseMapper<UserEntity> {
    /**
     * 匹配姓名得到用户
     *
     * @param userName
     * @return
     */
    UserEntity findByUserName(@Param("userName") String userName);
}
